<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>
      <%! String formAction="";%>
      <logic:equal parameter="action" scope="request" value="Create">
      <%formAction="/portal/editSubscription.do?action=Save";%>
      </logic:equal> <logic:equal parameter="action" scope="request" value="ViewInfo">
      <%formAction="/portal/editSubscription.do?action=UpdateInfo";%>
      </logic:equal> 
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type" />
<title>droik - User registration</title><meta content="droik.com" name="title" />
<meta content="Free personal finance, online money management, budgeting, and financial planning software." name="description" />
	<!--
	<link charset="utf-8" href="../css/library.css" media="screen" rel="stylesheet" title="mint product css" type="text/css" />
	-->
	<link charset="utf-8" href="../css/login.css" media="screen" rel="stylesheet" title="mint product css" type="text/css" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="../css/iehacks.css" />
	<![endif]
	-->
	<!--[if lt IE 7]>
	<script type="text/javascript" src="../js/iepngfix_tilebg.js"></script>
	<![endif]-->
	<meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type" />
	<link href="../images/mint.ico" rel="icon" type="text/x-icon" />
	<link href="/sc/ph1034.31/images/icons/mint.ico" rel="icon" type="shortcut text/x-icon" />
</head>
<body class="mint login">
	<jsp:include page="top.jsp"/>
        <div id="wrapper">
	<div id="body-container">
	<!-- |  @group Body Header  | -->
	<div id="body-header">
				<ul id="tabs-login">
					<li class="selected" id="signup"><a href="#" rel="formbox-signup"></a></li>
				</ul>
	</div>
	<!-- |  @end Body Header  | -->
	<div id="main">
			<div class="formbox" id="formbox-signup">
				<form action="..<%=formAction%>" id="form-signup" method="post">
					<fieldset>
						<input name="validation" type="hidden" value="[{&quot;fnc&quot;:&quot;isLength6||isPasswordSimple||passwordStrength||hasValidCharacters&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;password&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-password-length'&amp;gt;Your password must be &amp;amp;gt; 5 characters&amp;lt;\/div&amp;gt;||&amp;lt;div class='ajax' id='user-password-simple'&amp;gt;Password should not be the same as your username or the word &amp;amp;quot;password&amp;amp;quot;&amp;lt;\/div&amp;gt;||&amp;lt;span class='msg' id='user-password-strength'&amp;gt;&amp;lt;\/span&amp;gt;||&amp;lt;div class='ajax' id='user-password-invalid'&amp;gt;Invalid password character used!&amp;lt;\/div&amp;gt;&quot;},{&quot;fnc&quot;:&quot;isConfirm&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;password_confirm&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-password-confirm'&amp;gt;Your passwords do not match!&amp;lt;\/div&amp;gt;&quot;},{&quot;fnc&quot;:&quot;isChecked&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;terms&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-terms'&amp;gt;You must agree to our terms!&amp;lt;\/div&amp;gt;&quot;},{&quot;fnc&quot;:&quot;isChecked&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;terms1&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-terms1'&amp;gt;Your age should be greater then 13 years!&amp;lt;\/div&amp;gt;&quot;},{&quot;fnc&quot;:&quot;isEmail&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;email&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-email-valid'&amp;gt;Enter an email like &amp;amp;#8216;name@email.com&amp;amp;#8217;&amp;lt;\/div&amp;gt;&quot;},{&quot;fnc&quot;:&quot;isConfirm&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;email_confirm&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-email-confirm'&amp;gt;Emails do not match!&amp;lt;\/div&amp;gt;&quot;},{&quot;fnc&quot;:&quot;isCity||cityByZipcode&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;city&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-zipcode'&amp;gt;Please enter a City (ex.Pune)&amp;lt;\/div&amp;gt;||&amp;lt;span class='msg' id='user-zipcode-msg'&amp;gt;&amp;lt;\/span&amp;gt;&quot;}]" />
						<ol>
   							<table height=258 cellSpacing=0 cellPadding=0 width="1000" border=0 align="center" background="../images/blubg.jpg">
							<tbody>
						    	<TR>
						      		<TD class="text style3" height=32>
						      			<SPAN class=bluehead>Registration</SPAN>
						      		</td>
						      	</tr>
						    	<tr>
						      		<td class=text colspan=3>
									<div class=c2><IMG height=3 alt="** PLEASE DESCRIBE THIS IMAGE **" src="../images/line.gif" width=725 vspace=5>
									</div>
						      		</td>
						    	</tr>
							<tr>
								<td>
									<div align="justify">
										<html:errors></html:errors>
										<font color='red'>
										<logic:present name="USER_EXIST">
											<bean:message key="UserExists"/>
										</logic:present>
										</font>
									</div>
								</td>
							</tr>	
							<tr>
								<td class=greytext width="37%" height=36>
									<label for="form-signup-username">Your E-Mail</label>
								</td>
								<td width="4%">&nbsp;</td>
								<td width="59%">
									<input autocomplete="on" class="text" defaultvalue="" id="form-signup-username" maxlength="255" name="email" size="25" tabindex="1" type="text" value="" />
									<div class="vMessage"></div>
								</td>
							</tr>
							<tr>
								<td class=greytext width="37%" height=36>
									<label for="form-signup-userconfirm">Confirm E-Mail</label>
								</td>
								<td width="4%">&nbsp;</td>
								<td width="59%">								
									<input class="text" id="form-signup-userconfirm" maxlength="255" name="email_confirm" size="25" tabindex="2" type="text" />
									<div class="vMessage"></div>
								</td>
							</tr>
							<tr>
								<td class=greytext width="37%" height=36>
									<label for="form-signup-zipcode">City</label>
								</td>
								<td width="4%">&nbsp;</td>
								<td width="59%">				
								
									<input autocomplete="on" class="text" defaultvalue="" id="form-signup-zipcode" maxlength="15" name="city" tabindex="3" type="text" value="" />
									<div class="vMessage"></div>
								</td>
							</tr>
							<tr>
								<td class=greytext width="37%" height=36>
								<label for="form-signup-password">Password</label>
								</td>
								<td width="4%">&nbsp;</td>
								<td width="59%">				
									<input autocomplete="on" class="text" defaultvalue="" id="form-signup-password" maxlength="16" name="password" size="25" tabindex="4" type="password" value="" />
									<div class="vMessage"></div>
								</td>
							</tr>
							<tr>
								<td class=greytext width="37%" height=36>							
									<label for="form-signup-confirm">Confirm Password</label>
								</td>
								<td width="4%">&nbsp;</td>
								<td width="59%">
									<input autocomplete="on" class="text" defaultvalue="" id="form-confirm-password" maxlength="16" name="password_confirm" size="25" tabindex="5" type="password" value="" />
									<div class="vMessage"></div>
								</td>
							</tr>
							<tr>
							<td>						
								<input id="terms" name="terms" tabindex="6" type="checkbox" /><span style="font-weight:bold">Yes, I understand terms and condition</span>
								<div class="vMessage"></div>
							</td>
							</tr>
							<tr>
								<td class=greytext width="37%" height=36>							
									<input id="terms1" name="terms1" tabindex="7" type="checkbox" /><span style="font-weight:bold">Yes, I am 13 Years or Older</span>							
									<div class="vMessage"></div>
								</td>
								<td width="4%">&nbsp;</td>
								<td width="59%">								
									<html:submit/>
								</td>
							</tr>
							
							</table>
							</td>
							</tr>
							</table>
						</ol>
					</fieldset>
				</form>
			</div>		
			<div class="formbox  hide" id="formbox-login">
				<form id="form-login">
					<fieldset>
						<input name="validation" type="hidden" value="[{&quot;fnc&quot;:&quot;isEmail&quot;,&quot;evt&quot;:&quot;BLUR&quot;,&quot;fld&quot;:&quot;username&quot;,&quot;msg&quot;:&quot;&amp;lt;div class='ajax' id='user-email-valid'&amp;gt;Enter an email like &amp;amp;#8216;name@email.com&amp;amp;#8217;&amp;lt;\/div&amp;gt;&quot;}]" />
						<input autocomplete="on" class="text" defaultvalue="" id="form-login-password" maxlength="16" name="password" size="25" tabindex="9" type="hidden" value="" />
					</fieldset>
				</form>	
			</div>
		</div>
	</div>
	</div>
	<input id="javascript-token" name="token" type="hidden" value="" />
		<script src="../js/library.js" type="text/javascript"></script>
		<script src="../js/login.js" type="text/javascript"></script>
		<script src="../js/urchin.js" type="text/javascript"></script>
		<!--script type="text/javascript">defaultGaCode('UA-1184728-2',false);</script-->
</TD>
</TR>
</TABLE>
</body>
</html>